package com.yykj.user.center.server.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.util.List;

@Data
public class GroupPatientDTO {

    @ApiModelProperty("分组或标签的ID")
    private String groupId;

    @ApiModelProperty("分组或标签的名称")
    private String name;

    @ApiModelProperty("分组或标签中患者的数量")
    private Integer num;

    @ApiModelProperty("类型：1分组 2标签")
    private Integer type=1;

    @ApiModelProperty("是否是默认分组")
    @Column(columnDefinition="boolean default false")
    private Boolean isDefault;



    private List<GroupPatientDetailDTO> groupPatientDetailDTOList;
}
